<?php
extract($_POST);

//$vec1 = explode(",",$txtCond);
//$vec2 = explode(",",$txtRend);

?> 
<form name="x" id="x" method="post">
<img src="Reportes/Grafico_Balance_Final.php?compras=<?php echo $txtVentas; ?>" />
</form>